<?php
	$this->widget('zii.widgets.grid.CGridView', array(
				'id'=>'operasi-rejected-grid',
			    'dataProvider'=>$model->searchOperasiRejected($id),
				'filter'=>$model,
			    'columns'=>array(
					array(
		                'header'=>'No.',
		                'value'=>'$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1',
        			),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.jenis_pos',
						'filter'=> CHtml::activeTextField($model,'pos'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->jenis_pos',		    		
					),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.jenis_subpos',
						'filter'=> CHtml::activeTextField($model,'pos_sub'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->jenis_subpos',		    		
					),
					array(
						'name'=>'transaksiOperasis.idPagu.idPos.idKet.keterangan',
						'filter'=> CHtml::activeTextField($model,'pos_keterangan'),
						'value'=> '$data->transaksiOperasis->idPagu->idPos->idKet->keterangan',		    		
					),
					'pekerjaan',
					'rekanan',	
					array(
						'name'=>'transaksiKeteranganGagals.keterangan',
						'value'=> '$data->transaksiKeteranganGagals->keterangan',		    		
					),
					array(
						'class'=>'CButtonColumn',			    		
					),
				),
			)
		);
?>